home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form InboxForm
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- Caption = "Inbox Messages"
- ClientHeight = 3030
- ClientLeft = 1770
- ClientTop = 2595
- ClientWidth = 5970
- Height = 3405
- Left = 1725
- LinkTopic = "Form4"
- MDIChild = -1 'True
- ScaleHeight = 3030
- ScaleWidth = 5970
- Top = 2265
- Width = 6060
- Begin CheckBox SortMsg
- BackColor = &H00C0C0C0&
- Caption = "Sort Inbox Message"
- Height = 375
- Left = 165
- TabIndex = 5
- Top = 30
- Width = 2175
- End
- Begin CheckBox UnreadMsg
- BackColor = &H00C0C0C0&
- Caption = "Unread Message Only"
- Height = 375
- Left = 2445
- TabIndex = 4
- Top = 30
- Width = 2295
- End
- Begin CommandButton FilterMsg
- Caption = "&Refresh List"
- Height = 390
- Left = 3720
- TabIndex = 3
- Top = 2505
- Width = 1815
- End
- Begin CommandButton OpenMsgBtn
- Caption = "&Open Message"
- Height = 405
- Left = 1995
- TabIndex = 2
- Top = 2490
- Width = 1695
- End
- Begin CommandButton HideWndBtn
- Caption = "&Hide List"
- Height = 405
- Left = 375
- TabIndex = 1
- Top = 2490
- Width = 1575
- End
- Begin ListBox MsgList
- Height = 1785
- Left = 165
- TabIndex = 0
- Top = 510
- Width = 5700
- End
- Begin MMsg MMsg1
- BindString = "FormTag2.MSess1"
- BodyAsFile = 0 'False
- DisplayErrors = 0 'False
- DisplaySendDialog= 0 'False
- EnvelopeOnly = -1 'True
- FetchMsgType = ""
- Height = 420
- Left = 5175
- MarkAsRead = 0 'False
- SortMsg = 0 'False
- SuppressAttach = -1 'True
- TimeFormat = "%I:%M:%S %p. %B %d, %Y "
- Top = 30
- UnreadOnly = 0 'False
- Width = 420
- WorkingMsg = 0 '0- Inbox Message
- End
- Begin MForm MForm1
- Height = 300
- Left = 2880
- MXFormName = "FormTag3"
- Top = 2280
- Width = 1455
- End
- Sub FilterMsg_Click ()
- MMsg1.UnreadOnly = UnreadMsg
- MMsg1.SortMsg = SortMsg
- RefreshList
- End Sub
- Sub Form_Load ()
- RefreshList
- End Sub
- Sub HideWndBtn_Click ()
- Unload Me
- End Sub
- Sub MsgList_DblClick ()
- OpenMsgBtn_Click
- End Sub
- Sub OpenMsgBtn_Click ()
- Index = MsgList.ListIndex
- If Index = -1 Then
- MsgBox "Select a Mail Message to be opened"
- Else
- MMsg1.FetchMsg = Index + 1
- NewMsgWnd MMsg1
- End If
- End Sub
- Sub RefreshList ()
- SessionForm.MousePointer = 11
- MsgList.Clear
- MMsg1.Action = ACTION_FINDFIRST
- Do
- If MMsg1.FetchMsg <> 0 Then
- MsgList.AddItem MMsg1.Subject
- MMsg1.Action = ACTION_FINDNEXT
- End If
- Loop While MMsg1.FetchMsg <> 0
- SessionForm.MousePointer = 1
- End Sub
-